package com.ocm.commerceinteraction.model;

import java.util.List;

/**
 * Created by Curry on 2016-4-26.
 * 群列表
 */
public class GroupDetail {
    /**
     * data : [{"group_uniq_id":271058123,"huanxing_groupid":"186802513423368640","maxusers":"400","ower_uniq_id":"140885076","groupname":"第四个群","is_public":"1","descscription":"描述","is_block":"2","icon":null,"current_count":"1"}]
     * msg : 成功
     * status : true
     */

    private String msg;
    private boolean status;
    /**
     * group_uniq_id : 271058123
     * huanxing_groupid : 186802513423368640
     * maxusers : 400
     * ower_uniq_id : 140885076
     * groupname : 第四个群
     * is_public : 1
     * descscription : 描述
     * is_block : 2
     * icon : null
     * current_count : 1
     */

    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public boolean isStatus() {
        return status;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        private String group_uniq_id;
        private String huanxing_groupid;
        private String maxusers;
        private String ower_uniq_id;
        private String groupname;
        private String is_public;
        private String descscription;
        private String is_block;
        private Object icon;
        private String current_count;
        private String is_join="1";//1 加入 2 没有加入
        private int flag = 0;//0：我的群列表   1:推荐列表

        private String notice;

        private boolean hasChange = false;

        public boolean isHasChange() {
            return hasChange;
        }

        public void setHasChange(boolean hasChange) {
            this.hasChange = hasChange;
        }

        public String getNotice() {
            return notice;
        }

        public void setNotice(String notice) {
            this.notice = notice;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public void setGroup_uniq_id(String group_uniq_id) {
            this.group_uniq_id = group_uniq_id;
        }

        public void setHuanxing_groupid(String huanxing_groupid) {
            this.huanxing_groupid = huanxing_groupid;
        }

        public void setMaxusers(String maxusers) {
            this.maxusers = maxusers;
        }

        public void setOwer_uniq_id(String ower_uniq_id) {
            this.ower_uniq_id = ower_uniq_id;
        }

        public void setGroupname(String groupname) {
            this.groupname = groupname;
        }

        public void setIs_public(String is_public) {
            this.is_public = is_public;
        }

        public void setDescscription(String descscription) {
            this.descscription = descscription;
        }

        public void setIs_block(String is_block) {
            this.is_block = is_block;
        }

        public void setIcon(Object icon) {
            this.icon = icon;
        }

        public void setCurrent_count(String current_count) {
            this.current_count = current_count;
        }

        public String getGroup_uniq_id() {
            return group_uniq_id;
        }

        public String getHuanxing_groupid() {
            return huanxing_groupid;
        }

        public String getMaxusers() {
            return maxusers;
        }

        public String getOwer_uniq_id() {
            return ower_uniq_id;
        }

        public String getGroupname() {
            return groupname;
        }

        public String getIs_public() {
            return is_public;
        }

        public String getDescscription() {
            return descscription;
        }

        public String getIs_block() {
            return is_block;
        }

        public Object getIcon() {
            return icon;
        }

        public String getCurrent_count() {
            return current_count;
        }

        public void setIs_join(String is_join) {
            this.is_join = is_join;
        }

        public String getIs_join() {
            return is_join;
        }
    }
}
